﻿using System;
using System.Collections.Generic;

namespace Vote.DataEntity
{
    /// <summary>
    /// 活动
    /// </summary>
    public class ActionDataEntity
    {
        public int ID { get; set; }
        public String ActionName { get; set; }
        public string ActionDesc { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime BeginTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 分组
        /// </summary>
        public List<GroupDataEntity> Group { get; set; }
        /// <summary>
        /// 分组主键ID字符串
        /// </summary>
        public String GroupIds { get; set; }

        /// <summary>
        /// 参与投票的人数，如果大于0不能编辑删除
        /// </summary>
        public Int32 VoteCount { get; set; }
    }
}
